package com.gaxy.auth.api;

import com.gaxy.auth.entity.AuthUserDTO;
import com.gaxy.auth.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 用户服务feign
 *
 * @author Gaxy
 * @create 2024/06/21/下午 05:02
 */
@FeignClient("geeklub-auth-dev")
public interface UserFeignService {

    @RequestMapping("/user/getUserInfo")
    Result<AuthUserDTO> getUserInfo(@RequestBody AuthUserDTO authUserDTO);

}
